package com.dms.modules.user.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("用户行为DTO")
public class UserBehaviorDTO {
    
    @ApiModelProperty("商品ID")
    @NotNull(message = "商品ID不能为空")
    private Long productId;
    
    @ApiModelProperty("分类ID")
    private Long categoryId;
    
    @ApiModelProperty("来源")
    private String source;
    
    @ApiModelProperty("停留时长(秒)")
    private Integer stayDuration;
    
    @ApiModelProperty("行为类型")
    private String behaviorType;
} 